package ec.fugu.amf;

public class AmfHeader {
	private String name;
	private boolean required=true;
	private Object value;
	
	public AmfHeader(String name, Object value){
		this.name = name;
		this.value = value;
	}
	
	public AmfHeader(String name, Object value, boolean required){
		this.name = name;
		this.value = value;
		this.required = required;
	}

	public String getName(){
		return this.name;
	}
	
	public Object getValue(){
		return this.value;
	}
	
	public boolean isRequred(){
		return this.required;
	}
}